home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
DATAUTIL
/
DBASEUT1.LZH
/
DB3DIR.DOC
< prev
next >
Wrap
Text File
|
1987-06-09
|
1KB
|
47 lines
DB3DIR.PRG
This program was written so that I could get a
directory of a drive into a database file in order
to create various index files and utilize the
powerful tools available in Ashton-Tate's
dBASEIII+. To a more sophisticated programmer,
this may be a hack and slash approach, but I
have found the routine useful---especially when
cleaning up the post-development clutter of files.
The routine will work on a LAN to search any
drive specified. (I work up through drive N:.)
If using a subdirectory, use the RUN command to
set the subdirectory in DOS before DOing DB3DIR.
! C:
! CD\DIRNAME
When DB3DIR looks at drive C:, it will get the
files from the \DIRNAME subdirectory.
Note that DIRSTRU.DBF is required. Just in case it
gets trashed or erased, the structure is:
NAME C 8 0
F1 C 1 0
SUF C 3 0
F2 C 2 0
SIZE N 7 0
F3 C 2 0
DA C 8 0
F4 C 2 0
TIM C 8 0
The routine is not copyrighted, so feel free to make
any modifications you want.
wpl 06/08/87